enum SocketState {
    NotJoined = 0,  // 0: 未加入
    Joined = 1,     // 1: 已加入
    Left = 2,       // 2: 已离开
    RoomFull = 3    // 3: 房间已满
}

const SOCKET_EVENTS = {
    SIGNALING: {
        OFFER: 'offer',
        ANSWER: 'answer',
        ICE_CANDIDATE: 'iceCandidate',
    },
    ROOM: {
        ROOMINFO: 'roomInfo',
        JOIN: 'joinRoom',
        INFO: 'roomInfo',
        DISCONNECT: 'userDisconnected',
    }
};
export {
    SOCKET_EVENTS
}